package com.ziyun.pop.modules.storeMaterialCheck.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ziyun.pop.modules.storeMaterialCheck.vo.StoreMaterialCheckDetailVo;
import io.renren.common.utils.PageUtils;
import com.ziyun.pop.modules.storeMaterialCheck.entity.StoreMaterialCheckEntity;
import io.renren.common.utils.R;
import io.renren.modules.sys.entity.SysUserEntity;

import java.util.List;
import java.util.Map;

/**
 * 门店耗材盘点表
 *
 * @author xueqz
 * @email 898366526@qq.com
 * @date 2018-12-14 14:47:48
 */
public interface StoreMaterialCheckService extends IService<StoreMaterialCheckEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<StoreMaterialCheckDetailVo> handlerToVo(Integer stockId);

    void checkSave(List<StoreMaterialCheckDetailVo> storeMaterialCheckDetailVoList,Integer stockId,SysUserEntity user);

    R checkInfo(Integer checkId);

    void checkUpdate(List<StoreMaterialCheckDetailVo> storeMaterialCheckDetailVoList,String username);
}

